package com.yuyou.train.admin.service;

import java.util.List;

import com.yuyou.train.admin.vo.req.ReqAuthRoleAdd;
import com.yuyou.train.admin.vo.req.ReqAuthRoleUpdate;
import com.yuyou.train.service.api.admin.entity.AuthRole;
import com.yuyou.train.util.bean.Pagination;
import com.yuyou.train.util.bean.ResBoolSimpleInfo;

/**
 * Created by yujin.liu on 2018/1/22.
 */
public interface IAuthRoleService {

    int findAuthRolePageCount(Pagination<AuthRole> p);

    List<AuthRole> findAuthRoleList();

    List<AuthRole> findAuthRolePageList(Pagination<AuthRole> p);

    ResBoolSimpleInfo insertAuthRole(ReqAuthRoleAdd authRoleAdd);

    ResBoolSimpleInfo updateAuthRole(ReqAuthRoleUpdate reqAuthRoleUpdate);

    int deleteAuthRoleById(String id);
}
